
package harlequin;

import java.io.IOException;
import java.sql.*;
import java.util.ArrayList;
import java.util.List;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.JOptionPane;
import javax.swing.table.DefaultTableModel;
import jxl.write.WriteException;

public final class HomePage extends GeneralShow {
      private List<String> section;
      private List<String> professor;
      private String date;
      private String tempDate;
      private String section2;
      private List<String> idNumber;
      private List<String> fullName;
      private String userNameLog;
      private String specificDate;
         private     String oldPassword;
           private String newPassword;
           private String cNewPassword;

    public HomePage(Connection connector, String userNameLog) {
        this.connector = connector;
        this.setLocationByPlatform(rootPaneCheckingEnabled);
        section = new ArrayList<String>();
        professor = new ArrayList<String>();
        idNumber = new ArrayList<String>();
        fullName = new ArrayList<String>();
        this.setTitle("Harlequin Theatre Guild - Home Page");
        initComponents();
        initializeHomeShowList();
        initializeShowComboList();


    }
    
    
public void initializeHomeShowList(){
    
        Title = new ArrayList<String>();
        dateTimeslot = new ArrayList<String>();
        Slot = new ArrayList<Integer>();
        Price = new ArrayList<Float>();
        AudienceCount = new ArrayList<Integer>();
        

         showmodel = new DefaultTableModel(data, col){
            Class[] types = new Class [] {
                java.lang.String.class, 
                java.lang.String.class,
                java.lang.Integer.class, 
                java.lang.Integer.class, 
                java.lang.Float.class, 
            };
            boolean[] canEdit = new boolean [] {
                false, false, false, false,false, 
            };
           
            @Override
            public Class getColumnClass(int columnIndex) {
                return types [columnIndex];
            }

            @Override
            public boolean isCellEditable(int rowIndex, int columnIndex) {
                return canEdit [columnIndex];
            }
        };
            
        jShowTable.setModel(showmodel);
        jShowTable.getColumnModel().getColumn(0).setResizable(false);
        jShowTable.getColumnModel().getColumn(0).setPreferredWidth(10);
        jShowTable.getColumnModel().getColumn(1).setResizable(false);
        jShowTable.getColumnModel().getColumn(1).setPreferredWidth(50);
        jShowTable.getColumnModel().getColumn(2).setResizable(false);
        jShowTable.getColumnModel().getColumn(2).setPreferredWidth(50);
        jShowTable.getColumnModel().getColumn(3).setResizable(false);
        jShowTable.getColumnModel().getColumn(3).setPreferredWidth(20);
        jShowTable.getColumnModel().getColumn(4).setResizable(false);
        jShowTable.getColumnModel().getColumn(4).setPreferredWidth(20);
        
        initializeShowList();
        
        for(int i=0; i<Title.size();i++){
            Object[] rowData=new Object[10];
            
            rowData[0]=Title.get(i);
            rowData[1]=dateTimeslot.get(i);
            rowData[2]=Price.get(i);
            rowData[3]=Slot.get(i);
            rowData[4]=AudienceCount.get(i);
            showmodel.insertRow(nRows,rowData);
            nRows++;
        }
 
}

private void initializeHomeSectionList(String specificDate){

     String col[] = {"Section", "Professor"};
      nRows = 0;
      section = new ArrayList<String>();
      professor = new ArrayList<String>();    
      sectionmodel = new DefaultTableModel(data, col){
            Class[] types = new Class[]{
                java.lang.String.class,
                java.lang.String.class
            };
            
            boolean[] canEdit = new boolean[]{
                false, false
            };
            
  
            @Override
            public Class getColumnClass(int columnIndex) {
                return types [columnIndex];
            }
        
            @Override
            public boolean isCellEditable(int rowIndex, int columnIndex) {
                return canEdit [columnIndex];
        }
     };
        
        jSectionTable.setModel(sectionmodel);
        jSectionTable.getColumnModel().getColumn(0).setResizable(false);
        jSectionTable.getColumnModel().getColumn(0).setPreferredWidth(10);
        jSectionTable.getColumnModel().getColumn(1).setResizable(false);
        jSectionTable.getColumnModel().getColumn(1).setPreferredWidth(50);
        
        

           initializeSectionListSpecific(specificDate);

   
        
        for(int i=0; i<section.size();i++){
            Object[] rowData=new Object[10];
            rowData[0]=section.get(i);
            rowData[1]=professor.get(i);
          

            sectionmodel.insertRow(nRows,rowData);
            nRows++;
        }
       
}

private void initializeShowComboList(){
try {
  Statement stmt = connector.createStatement();
  ResultSet rs = stmt.executeQuery("Select * from play");
  while(rs.next()){
    cHomeSection.addItem(rs.getString("dateTimeslot"));
  }
  } catch (SQLException ex) {
      Logger.getLogger(HomePage.class.getName()).log(Level.SEVERE, null, ex);
  }   
}

private void initializeSectionListSpecific(String specificDate) {
try {
  Statement stmt = connector.createStatement();
  ResultSet rs = stmt.executeQuery("Select courseSection, professor from section where dateTimeslot =\"" + specificDate + "\"");
  while(rs.next()){
    section.add(rs.getString("courseSection"));
    professor.add(rs.getString("professor"));
  }
  } catch (SQLException ex) {
      Logger.getLogger(HomePage.class.getName()).log(Level.SEVERE, null, ex);
    }
 }
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jTabbedPane1 = new javax.swing.JTabbedPane();
        jTabbedPane2 = new javax.swing.JTabbedPane();
        jPanel1 = new javax.swing.JPanel();
        jScrollPane1 = new javax.swing.JScrollPane();
        jShowTable = new javax.swing.JTable();
        bAddShow = new javax.swing.JButton();
        bEditShow = new javax.swing.JButton();
        bDeleteShow = new javax.swing.JButton();
        bRefreshShow = new javax.swing.JButton();
        jPanel2 = new javax.swing.JPanel();
        cHomeSection = new javax.swing.JComboBox();
        jScrollPane2 = new javax.swing.JScrollPane();
        jSectionTable = new javax.swing.JTable();
        bAddSection = new javax.swing.JButton();
        bEditSection = new javax.swing.JButton();
        bDeleteSection = new javax.swing.JButton();
        jLabel6 = new javax.swing.JLabel();
        jPanel6 = new javax.swing.JPanel();
        jButton1 = new javax.swing.JButton();
        jButton2 = new javax.swing.JButton();
        jButton3 = new javax.swing.JButton();
        bLogout = new javax.swing.JButton();
        jLabel7 = new javax.swing.JLabel();
        jLabel8 = new javax.swing.JLabel();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        setResizable(false);
        getContentPane().setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        jShowTable.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null, null, null},
                {null, null, null, null, null, null},
                {null, null, null, null, null, null},
                {null, null, null, null, null, null}
            },
            new String [] {
                "Title", "Date", "Timeslot", "Price", "Slot", "Audience Count"
            }
        ) {
            boolean[] canEdit = new boolean [] {
                false, false, false, false, false, false
            };

            public boolean isCellEditable(int rowIndex, int columnIndex) {
                return canEdit [columnIndex];
            }
        });
        jScrollPane1.setViewportView(jShowTable);
        jShowTable.getColumnModel().getColumn(0).setResizable(false);
        jShowTable.getColumnModel().getColumn(1).setResizable(false);
        jShowTable.getColumnModel().getColumn(2).setResizable(false);
        jShowTable.getColumnModel().getColumn(3).setResizable(false);
        jShowTable.getColumnModel().getColumn(4).setResizable(false);

        bAddShow.setText("Add Show");
        bAddShow.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                bAddShowActionPerformed(evt);
            }
        });

        bEditShow.setText("Edit Show");
        bEditShow.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                bEditShowActionPerformed(evt);
            }
        });

        bDeleteShow.setText("Delete Show");
        bDeleteShow.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                bDeleteShowActionPerformed(evt);
            }
        });

        bRefreshShow.setText("Refresh");
        bRefreshShow.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                bRefreshShowActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
        jPanel1.setLayout(jPanel1Layout);
        jPanel1Layout.setHorizontalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 606, Short.MAX_VALUE)
                    .addGroup(jPanel1Layout.createSequentialGroup()
                        .addComponent(bRefreshShow)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 230, Short.MAX_VALUE)
                        .addComponent(bAddShow)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(bEditShow)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(bDeleteShow)))
                .addContainerGap())
        );
        jPanel1Layout.setVerticalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 141, Short.MAX_VALUE)
                .addGap(18, 18, 18)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(bDeleteShow)
                    .addComponent(bEditShow)
                    .addComponent(bAddShow)
                    .addComponent(bRefreshShow))
                .addContainerGap())
        );

        jTabbedPane2.addTab("Show", jPanel1);

        cHomeSection.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Select Date and Timeslot" }));
        cHomeSection.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                cHomeSectionActionPerformed(evt);
            }
        });

        jSectionTable.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null},
                {null, null},
                {null, null},
                {null, null}
            },
            new String [] {
                "Section", "Professor"
            }
        ) {
            boolean[] canEdit = new boolean [] {
                false, false
            };

            public boolean isCellEditable(int rowIndex, int columnIndex) {
                return canEdit [columnIndex];
            }
        });
        jScrollPane2.setViewportView(jSectionTable);
        jSectionTable.getColumnModel().getColumn(0).setResizable(false);
        jSectionTable.getColumnModel().getColumn(1).setResizable(false);

        bAddSection.setText("Add Section");
        bAddSection.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                bAddSectionActionPerformed(evt);
            }
        });

        bEditSection.setText("Edit Section");
        bEditSection.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                bEditSectionActionPerformed(evt);
            }
        });

        bDeleteSection.setText("Delete Section");
        bDeleteSection.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                bDeleteSectionActionPerformed(evt);
            }
        });

        jLabel6.setText("Date - Timeslot:");

        javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);
        jPanel2.setLayout(jPanel2Layout);
        jPanel2Layout.setHorizontalGroup(
            jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel2Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel2Layout.createSequentialGroup()
                        .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel2Layout.createSequentialGroup()
                                .addComponent(bAddSection)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(bEditSection)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(bDeleteSection))
                            .addComponent(jScrollPane2, javax.swing.GroupLayout.DEFAULT_SIZE, 606, Short.MAX_VALUE))
                        .addContainerGap())
                    .addGroup(jPanel2Layout.createSequentialGroup()
                        .addComponent(jLabel6)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(cHomeSection, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))))
        );
        jPanel2Layout.setVerticalGroup(
            jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel2Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel6)
                    .addComponent(cHomeSection, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(18, 18, 18)
                .addComponent(jScrollPane2, javax.swing.GroupLayout.DEFAULT_SIZE, 101, Short.MAX_VALUE)
                .addGap(18, 18, 18)
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(bAddSection)
                    .addComponent(bEditSection)
                    .addComponent(bDeleteSection))
                .addContainerGap())
        );

        jTabbedPane2.addTab("Section", jPanel2);

        jTabbedPane1.addTab("Make Attendance", jTabbedPane2);

        jButton1.setText("DLSU Students with Incentives");
        jButton1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton1ActionPerformed(evt);
            }
        });

        jButton2.setText("DLSU Students without Incentives");
        jButton2.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton2ActionPerformed(evt);
            }
        });

        jButton3.setText("General Public");
        jButton3.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton3ActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jPanel6Layout = new javax.swing.GroupLayout(jPanel6);
        jPanel6.setLayout(jPanel6Layout);
        jPanel6Layout.setHorizontalGroup(
            jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel6Layout.createSequentialGroup()
                .addContainerGap(400, Short.MAX_VALUE)
                .addGroup(jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(jButton2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(jButton3, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(jButton1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addContainerGap())
        );
        jPanel6Layout.setVerticalGroup(
            jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel6Layout.createSequentialGroup()
                .addContainerGap(138, Short.MAX_VALUE)
                .addComponent(jButton1)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jButton2)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jButton3)
                .addContainerGap())
        );

        jTabbedPane1.addTab("Generate Report", jPanel6);

        getContentPane().add(jTabbedPane1, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 210, 640, 270));

        bLogout.setText("Logout");
        bLogout.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                bLogoutActionPerformed(evt);
            }
        });
        getContentPane().add(bLogout, new org.netbeans.lib.awtextra.AbsoluteConstraints(557, 7, -1, -1));
        getContentPane().add(jLabel7, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 640, -1));

        jLabel8.setIcon(new javax.swing.ImageIcon(getClass().getResource("/HTGBG640480.jpg"))); // NOI18N
        getContentPane().add(jLabel8, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, -1, -1));

        pack();
    }// </editor-fold>//GEN-END:initComponents

private void bAddShowActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_bAddShowActionPerformed
    new ShowAdd(connector).setVisible(true);

}//GEN-LAST:event_bAddShowActionPerformed

private void cHomeSectionActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_cHomeSectionActionPerformed
  specificDate = cHomeSection.getSelectedItem().toString();
  initializeHomeSectionList(specificDate);
  
}//GEN-LAST:event_cHomeSectionActionPerformed

private void bDeleteShowActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_bDeleteShowActionPerformed
  new ShowDelete(connector).setVisible(true);
}//GEN-LAST:event_bDeleteShowActionPerformed

private void bEditShowActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_bEditShowActionPerformed
 new ShowEdit(connector).setVisible(true);
}//GEN-LAST:event_bEditShowActionPerformed

private void bRefreshShowActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_bRefreshShowActionPerformed
 
   this.dispose();
   HomePage home = new HomePage(connector, userNameLog);
   home.setVisible(true); 
}//GEN-LAST:event_bRefreshShowActionPerformed

private void bAddSectionActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_bAddSectionActionPerformed
    if(cHomeSection.getSelectedItem().toString() == "Select Date and Timeslot")
       JOptionPane.showMessageDialog(null, "Select Date and Timeslot first!");
    else{
    tempDate = cHomeSection.getSelectedItem().toString();
    new SectionAdd(connector, tempDate, 0).setVisible(true);
    }
}//GEN-LAST:event_bAddSectionActionPerformed

private void bEditSectionActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_bEditSectionActionPerformed
    if(cHomeSection.getSelectedItem().toString() == "Select Date and Timeslot")
       JOptionPane.showMessageDialog(null, "Select Date and Timeslot first!");
    else{
    tempDate = cHomeSection.getSelectedItem().toString();  
    new SectionEdit(connector, tempDate, 0).setVisible(true);
    }
}//GEN-LAST:event_bEditSectionActionPerformed

private void bDeleteSectionActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_bDeleteSectionActionPerformed
    if(cHomeSection.getSelectedItem().toString() == "Select Date and Timeslot")
       JOptionPane.showMessageDialog(null, "Select Date and Timeslot first!");
    else{
    tempDate = cHomeSection.getSelectedItem().toString(); 
    new SectionDelete(connector, tempDate, 0).setVisible(true); 
    }
}//GEN-LAST:event_bDeleteSectionActionPerformed

private void bLogoutActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_bLogoutActionPerformed
 int opt = new JOptionPane().showConfirmDialog(null,"Are you Sure?","Confirm",JOptionPane.YES_NO_OPTION);
    if(opt == JOptionPane.YES_OPTION){
    this.dispose();
    new Login(connector).setVisible(true);
    }
    else{
       this.dispose();
        new HomePage(connector, userNameLog).setVisible(true);
       

    }
}//GEN-LAST:event_bLogoutActionPerformed

private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton1ActionPerformed
    try {
            new ReportWithIncentive(connector).setVisible(true);
        } catch (IOException ex) {
            Logger.getLogger(ClassifyReportType.class.getName()).log(Level.SEVERE, null, ex);
        }
}//GEN-LAST:event_jButton1ActionPerformed

private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton2ActionPerformed
    try {
            new ReportWithoutIncentive(connector).setVisible(true);
        } catch (IOException ex) {
            Logger.getLogger(ClassifyReportType.class.getName()).log(Level.SEVERE, null, ex);
        }
}//GEN-LAST:event_jButton2ActionPerformed

private void jButton3ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton3ActionPerformed
    try {
            new ReportGeneralPublic(connector).setVisible(true);
        } catch (IOException ex) {
            Logger.getLogger(ClassifyReportType.class.getName()).log(Level.SEVERE, null, ex);
        }
}//GEN-LAST:event_jButton3ActionPerformed
public boolean InvalidPassword() throws SQLException{
  // oldPassword = tOldPassword.getText();
   String query = "select * from admin";
   PreparedStatement preparedStatement = connector.prepareStatement(query);
   ResultSet set = preparedStatement.executeQuery(query);
    
    
    while(set.next()){
        if(set.getString("password").equals(oldPassword)) 
            return true;
    }
    return false;
}

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton bAddSection;
    private javax.swing.JButton bAddShow;
    private javax.swing.JButton bDeleteSection;
    private javax.swing.JButton bDeleteShow;
    private javax.swing.JButton bEditSection;
    private javax.swing.JButton bEditShow;
    private javax.swing.JButton bLogout;
    private javax.swing.JButton bRefreshShow;
    private javax.swing.JComboBox cHomeSection;
    private javax.swing.JButton jButton1;
    private javax.swing.JButton jButton2;
    private javax.swing.JButton jButton3;
    private javax.swing.JLabel jLabel6;
    private javax.swing.JLabel jLabel7;
    private javax.swing.JLabel jLabel8;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JPanel jPanel2;
    private javax.swing.JPanel jPanel6;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JScrollPane jScrollPane2;
    private javax.swing.JTable jSectionTable;
    public javax.swing.JTable jShowTable;
    private javax.swing.JTabbedPane jTabbedPane1;
    private javax.swing.JTabbedPane jTabbedPane2;
    // End of variables declaration//GEN-END:variables


}
